package com.itheima.demo01;

public class Animal {

    //权限修饰符
    //私有代表只能在本类中使用
    //private
    public void eat(){
        System.out.println("吃东西");
    }

    public void drink(){
        System.out.println("喝水");
    }

}
